/*************************************************************************
> File Name: main.cpp
> Author: hzy
> Created Time: 2023-08-09 10:13:30
> Description:
************************************************************************/

#include "person.h"

int main()
{
    Person person;

    person.init(1, "狗大哥", 22);
    person.show();

    person.setId(2);
    person.setName("猫小妹");
    person.setAge(18);

    cout << "id = " << person.getId();
    cout << ", name = " << person.getName();
    cout << ", age = " << person.getAge() << endl;

    return 0;
}